<?php
/**
 * 金额明细日志
 * User: guojing
 * Date: 2020/5/8
 * Time: 23:24
 */

namespace app\api\model;

use think\Model;

class UserMoneyLog extends Model
{

    protected $name = 'user_money_log';

    public static function addRecord($addData)
    {
        $data = $addData;
        $data['createtime'] = time();
        return self::create($data);
    }

}